package com.eckey.lab.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author: Marinc
 * @CreateTime: 2023-07-27  11:02
 * @Description: TODO
 * @Version: 1.0
 */
@Component
@FeignClient(name = "user-service",fallbackFactory = UserClientFallbackFactory.class)
public interface UserFeign {

    @GetMapping("/user/findOrderByUserId")
    String getUserById();

}
